<?php
$link=@mysqli_connect('localhost','root','root','sh 2007',8080);
if(!$link){
    $arr=array("code"=>0,"msg"=>mysqli_connect_error());
    die(json_encode($arr));
}
?>